home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / bin / hal-device-manager < prev    next >
Encoding:
Text File  |  2007-05-11  |  492 b   |  22 lines

  1. #!/usr/bin/env python
  2.  
  3. """This is the main executable for DeviceManager. GTK+/Glade code is based
  4. on simplepy from Shannon -jj Behrens <jjinux@yahoo.com>"""
  5.  
  6. import sys
  7. import pygtk
  8. import gtk
  9. import gnome
  10.  
  11. sys.path.append('/usr/share/hal/device-manager')
  12.  
  13. import Const
  14. import LibGladeApplication
  15. from DeviceManager import DeviceManager
  16.  
  17. gnome.program_init(Const.NAME, Const.VERSION)
  18. gtk.glade.bindtextdomain('hal', '/usr/share/locale')
  19. gtk.glade.textdomain('hal')
  20. DeviceManager()
  21. gtk.main()
  22.